package com.sleepapp.service;

import com.sleepapp.entity.RedemptionRecord;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sleepapp.utils.AjaxResult;
import com.sleepapp.vo.PageQueryInfo;
import com.sleepapp.vo.PageQueryParamVo;
import com.sleepapp.vo.RecordQueryAllVo;

import java.util.List;

/**
 * <p>
 * 兑换记录表 服务类
 * </p>
 *
 * @author 
 * @since 2025-03-13
 */
public interface RedemptionRecordService extends IService<RedemptionRecord> {

    AjaxResult<Void> add(Long id);

    PageQueryInfo<List<RecordQueryAllVo>> getAll(PageQueryParamVo pageQueryParamVo);
}
